package cn.edu.wfit.modules.learn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 个人赛报名对象 wfit_competition_individualregistration
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class WfitCompetitionIndividualregistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识ID */
    private Long id;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private Long studentId;

    /** 是否在官网进行报名(0否,1是) */
    @Excel(name = "是否在官网进行报名(0否,1是)")
    private String isOfficialRegistration;

    /** 个人赛记录表id */
    @Excel(name = "个人赛记录表id")
    private Long individualContestId;

    /**
     * 竞赛名称
     * @param competitionName
     */
    @Excel(name = "竞赛名称")
    private String competitionName;

    /**
     * 赛道名称
     * @param racewayName
     */
    @Excel(name = "赛道名称")
    private String racewayName;

    /**
     * 学生姓名
     * @return
     */
    @Excel(name = "学生姓名")
    private String studentName;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getCompetitionName() {
        return competitionName;
    }

    public void setCompetitionName(String competitionName) {
        this.competitionName = competitionName;
    }

    public String getRacewayName() {
        return racewayName;
    }

    public void setRacewayName(String racewayName) {
        this.racewayName = racewayName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setIsOfficialRegistration(String isOfficialRegistration) 
    {
        this.isOfficialRegistration = isOfficialRegistration;
    }

    public String getIsOfficialRegistration() 
    {
        return isOfficialRegistration;
    }
    public void setIndividualContestId(Long individualContestId) 
    {
        this.individualContestId = individualContestId;
    }

    public Long getIndividualContestId() 
    {
        return individualContestId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("isOfficialRegistration", getIsOfficialRegistration())
            .append("individualContestId", getIndividualContestId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
